home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ für Kids
/
C++ for kids.iso
/
SETUP
/
US
/
CBUILDER
/
DATA.Z
/
STDCTRLS.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-13
|
39KB
|
1,092 lines
//----------------------------------------------------------------------------
// StdCtrls.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: StdCtrls.pas
//----------------------------------------------------------------------------
#ifndef StdCtrlsHPP
#define StdCtrlsHPP
//----------------------------------------------------------------------------
#include <Graphics.hpp>
#include <Menus.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <Messages.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Stdctrls
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TCustomGroupBox;
class __declspec(pascalimplementation) TCustomGroupBox : public Controls::TCustomControl
{
typedef Controls::TCustomControl inherited;
private:
HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMCtl3DChanged(Messages::TMessage &Message);
protected:
virtual void __fastcall AlignControls(Controls::TControl* AControl, Windows::TRect &Rect);
virtual void __fastcall Paint(void);
public:
__fastcall virtual TCustomGroupBox(Classes::TComponent* AOwner);
public:
/* TCustomControl.Destroy */ __fastcall virtual ~TCustomGroupBox(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TCustomGroupBox(HWND ParentWindow) : Controls::TCustomControl(
ParentWindow) { }
};
class __declspec(delphiclass) TGroupBox;
class __declspec(pascalimplementation) TGroupBox : public TCustomGroupBox
{
typedef TCustomGroupBox inherited;
__published:
__property Align ;
__property Caption ;
__property Color ;
__property Ctl3D ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property Font ;
__property ParentColor ;
__property ParentCtl3D ;
__property ParentFont ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowHint ;
__property TabOrder ;
__property TabStop ;
__property Visible ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnEnter ;
__property OnExit ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnStartDrag ;
public:
/* TCustomGroupBox.Create */ __fastcall virtual TGroupBox(Classes::TComponent* AOwner) : Stdctrls::
TCustomGroupBox(AOwner) { }
public:
/* TCustomControl.Destroy */ __fastcall virtual ~TGroupBox(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TGroupBox(HWND ParentWindow) : Stdctrls::TCustomGroupBox(
ParentWindow) { }
};
class __declspec(delphiclass) TCustomLabel;
class __declspec(pascalimplementation) TCustomLabel : public Controls::TGraphicControl
{
typedef Controls::TGraphicControl inherited;
private:
Controls::TWinControl* FFocusControl;
TAlignment FAlignment;
bool FAutoSize;
bool FWordWrap;
bool FShowAccelChar;
void __fastcall AdjustBounds(void);
void __fastcall DoDrawText(Windows::TRect &Rect, Word Flags);
bool __fastcall GetTransparent(void);
void __fastcall SetAlignment(Classes::TAlignment Value);
void __fastcall SetFocusControl(Controls::TWinControl* Value);
void __fastcall SetShowAccelChar(bool Value);
void __fastcall SetTransparent(bool Value);
void __fastcall SetWordWrap(bool Value);
MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
protected:
virtual System::AnsiString __fastcall GetLabelText(void);
virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
);
virtual void __fastcall Paint(void);
virtual void __fastcall SetAutoSize(bool Value);
__property Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};
__property Controls::TWinControl* FocusControl = {read=FFocusControl, write=SetFocusControl, nodefault
};
__property bool ShowAccelChar = {read=FShowAccelChar, write=SetShowAccelChar, default=1};
__property bool Transparent = {read=GetTransparent, write=SetTransparent, default=0};
__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};
public:
__fastcall virtual TCustomLabel(Classes::TComponent* AOwner);
__property Canvas ;
public:
/* TGraphicControl.Destroy */ __fastcall virtual ~TCustomLabel(void) { }
};
class __declspec(delphiclass) TLabel;
class __declspec(pascalimplementation) TLabel : public TCustomLabel
{
typedef TCustomLabel inherited;
__published:
__property Align ;
__property Alignment ;
__property AutoSize ;
__property Caption ;
__property Color ;
__property DragCursor ;
__property DragMode ;
__property Enabled ;
__property FocusControl ;
__property Font ;
__property ParentColor ;
__property ParentFont ;
__property ParentShowHint ;
__property PopupMenu ;
__property ShowAccelChar ;
__property ShowHint ;
__property Transparent ;
__property Visible ;
__property WordWrap ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnEndDrag ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnStartDrag ;
public:
/* TCustomLabel.Create */ __fastcall virtual TLabel(Classes::TComponent* AOwner) : Stdctrls::TCustomLabel(
AOwner) { }
public:
/* TGraphicControl.Destroy */ __fastcall virtual ~TLabel(void) { }
};
enum TEditCharCase { ecNormal, ecUpperCase, ecLowerCase };
class __declspec(delphiclass) TCustomEdit;
class __declspec(pascalimplementation) TCustomEdit : public Controls::TWinControl
{
typedef Controls::TWinControl inherited;
private:
int FMaxLength;
TFormBorderStyle FBorderStyle;
char FPasswordChar;
bool FReadOnly;
bool FAutoSize;
bool FAutoSelect;
bool FHideSelection;
bool FOEMConvert;
TEditCharCase FCharCase;
bool FCreating;
bool FModified;
Classes::TNotifyEvent FOnChange;
void __fastcall AdjustHeight(void);
virtual void __fastcall DefaultHandler(void *Message);
bool __fastcall GetModified(void);
int __fastcall GetSelLength(void);
int __fastcall GetSelStart(void);
System::AnsiString __fastcall GetSelText(void);
void __fastcall SetAutoSize(bool Value);
void __fastcall SetBorderStyle(Forms::TBorderStyle Value);
void __fastcall SetCharCase(TEditCharCase Value);
void __fastcall SetHideSelection(bool Value);
void __fastcall SetMaxLength(int Value);
void __fastcall SetModified(bool Value);
void __fastcall SetOEMConvert(bool Value);
void __fastcall SetPasswordChar(char Value);
void __fastcall SetReadOnly(bool Value);
void __fastcall SetSelLength(int Value);
void __fastcall SetSelStart(int Value);
void __fastcall SetSelText(const System::AnsiString Value);
void __fastcall UpdateHeight(void);
MESSAGE void __fastcall WMSetFont(Messages::TWMSetFont &Message);
HIDESBASE MESSAGE void __fastcall CMCtl3DChanged(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMEnter(Messages::TWMNoParams &Message);
HIDESBASE MESSAGE void __fastcall CMFontChanged(Messages::TMessage &Message);
MESSAGE void __fastcall CNCommand(Messages::TWMCommand &Message);
MESSAGE void __fastcall CMTextChanged(Messages::TMessage &Message);
protected:
virtual void __fastcall Change(void);
virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
virtual void __fastcall CreateWnd(void);
virtual void __fastcall DestroyWnd(void);
__property bool AutoSelect = {read=FAutoSelect, write=FAutoSelect, default=1};
__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};
__property Forms::TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, defaul